package com.study.lxy.springcloud.cardman.utils;

import com.study.lxy.springcloud.common.exception.ErrorMsg;

public enum RespCodeEnum implements ErrorMsg {
    SUCCESS("0000","交易成功"),
    COMMON_ERROR("9999","系统异常，请稍后重试"),
    PARAM_INVAILD("3001","参数无效"),
    CARD_BUSI_EMPTY("3002","卡类型和业务类型必须输入"),
    CARD_BUSI_INVILD("3003","卡类型和业务类型无效");
    private String code;
    private String message;
    RespCodeEnum(String code, String message){
        this.code = code;
        this.message = message;
    }
    public String getCode(){
        return code;
    }
    public String getMessage(){
        return message;
    }

}
